var vm = new Vue({
    data: {
        options: [],
        template: {
            type: null
        }
    },
    methods: {
        getTemplateType: function() {
            $.post('sys/generator/dbinfolist', null, function(data){
                vm.options = data.dblist;
            });
        }
    },
    created: function() {
        this.getTemplateType();
    }
})